<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="/update" method="post">
    <table>
        <tr>
            <td>名称</td>
            <td>性别</td>
            <td>密码</td>
            <td>年龄</td>
            <td>电话</td>
            <td></td>
        </tr>
        <tr th:object="${users}">
            <input type="hidden" th:value="*{id}" name="id">
            <td>
                <input type="text" th:value="*{name}" name="name">
            </td>
            <td>
                <input type="text" th:value="*{gender}" name="gender">
            </td>
            <td>
                <input type="text" th:value="*{password}" name="password">
            </td>
            <td>
                <input type="text" th:value="*{age}" name="age">
            </td>
            <td>
                <input type="text" th:value="*{tel}" name="tel">
            </td>
            <td>
                <input type="submit" value="提交">
            </td>
        </tr>
    </table>
</form>
</body>
</html>